<?php

defined('APP_VENDOR_PATH')or define('APP_VENDOR_PATH',dirname($_SERVER['SCRIPT_FILENAME']).'/Vendor');
defined('APP_PUBLIC_PATH')or define('APP_PUBLIC_PATH',dirname($_SERVER['SCRIPT_FILENAME']).'/Public');

return array(
    'DB_TYPE' => 'mysql', // 数据库类型
    'DB_HOST' => 'localhost', // 服务器地址
    'DB_NAME' => 'test', // 数据库名
    'DB_USER' => 'root', // 用户名
    'DB_PWD' => 'admin456', // 密码
    'DB_PORT' => '3306', // 端口
    'DB_PREFIX' => 'think_', // 数据库表前缀
    'DB_FIELDTYPE_CHECK' => false, // 是否进行字段类型检查
    'DB_FIELDS_CACHE' => true, // 启用字段缓存
    'DB_CHARSET' => 'utf8', // 数据库编码默认采用utf8

    'APP_DEBUG'=>true,
    'SHOW_PAGE_TRACE'=>true,

    'URL_CASE_INSENSITIVE' =>false,

    'TMPL_PARSE_STRING'=>array(
        '__PUBLIC__'=>__ROOT__.'/Public',
        '__UPLOAD__'=>__ROOT__.'/Public/Uploads',
        '__ADMIN__'=>__ROOT__.'/Admin',
        '__WEBRESOURCE__'=>'dev'
    )
);